package com.example.second_home_work

class ProgramAdviser {
    fun getLanguage(language: String) = when (language) {
            "C++" -> "C++ is a general-purpose programming language created by Bjarne Stroustrup as an extension of the C programming language, or C with Classes."
            "Java" -> "Java is a high-level, class-based, object-oriented programming language that is designed to have as few implementation dependencies as possible."
            "Kotlin" -> "Kotlin is a cross-platform, statically typed, general-purpose programming language with type inference."
            "Python" -> "Python is an interpreted, high-level, general-purpose programming language."
            "C#" -> "C# is a general-purpose, multi-paradigm programming language encompassing strong typing, lexically scoped, imperative, declarative, functional, generic, object-oriented, and component-oriented programming disciplines."
            "JavaScript" -> "JavaScript, often abbreviated as JS, is a programming language that conforms to the ECMAScript specification."
            "Swift" -> "Swift is a general-purpose, multi-paradigm, compiled programming language developed by Apple Inc. and the open-source community."
            "Go" -> "Go is a statically typed, compiled programming language designed at Google."
            "Rust" -> "Rust is a multi-paradigm system programming language focused on safety, especially safe concurrency."
            "Ruby" -> "Ruby is an interpreted, high-level, general-purpose programming language."
            else -> "I don't know this language"
        }
}